package server.business.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Select;
import server.business.pojo.AboType;
import server.main.config.cache.MybatisPlusRedisCache;
import server.business.pojo.BloodTestStates;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
* @author Galaxy
* @description 针对表【blood_test_states】的数据库操作Mapper
* @createDate 2022-11-08 12:46:24
* @Entity server.business.pojo.BloodTestStates
*/
@Mapper
//@CacheNamespace(implementation = MybatisPlusRedisCache.class)
public interface BloodTestStatesMapper extends BaseMapper<BloodTestStates> {

    /**
     * 根据code查询
     * @param code
     * @return
     */
    @Select("select * from blood_test_states where code=#{code}")
    BloodTestStates selectByCode(String code);

}




